﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace FarmacieDAL
{
    public partial class Vanzare
    {
        public double Total
        {
            get
            {
                if (Medicament != null)
                {
                    return this.Pret * this.Cantitate;
                }

                return 0;
            }
        }
    }
}
